package com.example.demo.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * Entity基类
 *
 * @author weiyanming
 */
public class Banners {
  private long id;
  private String bannerimg;
  private String description;
  private String toPath;
  private Long isShow;  //private long isshow;   long,Long   int-->Integer  isShow = null;--->isShow=0;select * from banners where isshow=0;

  private String createBy;
  /** 创建时间 */
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private java.util.Date createTime;
  private String updateBy;
  /** 创建时间 */
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private java.util.Date  updateTime;
  public Long getId() {
    return id;
  }
  public void setId(Long id) {
    this.id = id;
  }
  public String getBannerimg() {
    return bannerimg;
  }
  public void setBannerimg(String bannerimg) {
    this.bannerimg = bannerimg;
  }
  public String getDescription() {
    return description;
  }
  public void setDescription(String description) {
    this.description = description;
  }
  public String getToPath() {
    return toPath;
  }
  public void setToPath(String toPath) {
    this.toPath = toPath;
  }
  public Long getIsShow() {
    return isShow;
  }
  public void setIsShow(Long isShow) {
    this.isShow = isShow;
  }

  public String getCreateBy() {
    return createBy;
  }
  public void setCreateBy(String createBy) {
    this.createBy = createBy;
  }
  public java.util.Date  getCreateTime() {
    return createTime;
  }
  public void setCreateTime(java.util.Date createTime) {
    this.createTime = createTime;
  }
  public String getUpdateBy() {
    return updateBy;
  }
  public void setUpdateBy(String updateBy) {
    this.updateBy = updateBy;
  }
  public java.util.Date getUpdateTime() {
    return updateTime;
  }
  public void setUpdateTime(java.util.Date updateTime) {
    this.updateTime = updateTime;
  }

}
